﻿using BW.EatRabbit.API.Write.Application.Commands.Basic_Information;
using BW.EatRabbit.Domain;
using BW.EatRabbit.ErrorCode;
using BW.EatRabbit.Infrastructure.Interfaces;
using MediatR;

namespace BW.EatRabbit.API.Write.Application.CommandHandlers.Basic_Information
{
    public class BasicCreateCommandHandler : IRequestHandler<BasicCreateCommand, APIResult<int>>
    {
        private readonly IBaseRepository<BasicInformation> basicInformationRepository;
        public BasicCreateCommandHandler(IBaseRepository<BasicInformation> basicInformationRepository)
        {
            this.basicInformationRepository = basicInformationRepository;

        }
        public Task<APIResult<int>> Handle(BasicCreateCommand request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
